
#ifndef __KEYPAD_H__
#define __KEYPAD_H__

#include <stdint.h>
//#include "mbvardef.h"

typedef struct{
	int16_t min;
	int16_t max;
	int16_t delta;
	int16_t decimal;
}PARAMETER;

extern uint8_t KEYPAD_Control(void);
extern void KeyPad_Init(void);
//extern const PARAMETER hr_params_define[PARAMETER_DEFAULT_COUNT];

extern int16_t getInputRegister(uint16_t addr);
extern int16_t getParameter(uint16_t addr);
extern int8_t setParameter(uint16_t addr, int16_t value);

#endif

